package com.moliku.insurance.process.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.moliku.insurance.model.dto.wuTong.InsuranceCar;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 梧桐车险列表信息
 * @Author: yws
 * @Date: 2021/3/31 14:40
 */
public interface InsuranceCarMapper extends BaseMapper<InsuranceCar> {

    /**
     * @Description: 根据投保单号查询
     * @Author: yws
     * @Date: 2021/3/31 15:04
     */
    InsuranceCar selectCarByProposalFormId(@Param("proposalFormId") String proposalFormId);

    Integer updateCarByProposalFormId(InsuranceCar insuranceCar);

    /**
     * @Description: 根据条件查询列表
     * @Author: yws
     * @Date: 2021/4/1 11:30
     */
    List<InsuranceCar> selectCarByInsuranceCar(InsuranceCar insuranceCar);
}
